/**

 * User: seeker910
 * Date: 13-11-8
 * Time: 上午1:38

 * 
 * 仅包含 时间部分，不含日期部分
 */
 Rsd.define('Rsd.form.Time', {
    extend: 'Rsd.form.Input',
    xtype: 'time',
//    height: 30,
//    width: 80,
    text: '',
    inputType: 'time',
    ctrlCls: 'x-control-time',
    handler: null,
    precision:0,
    min:null,
    max:null,
    step:1,
    /**
     * 
     */
    constructor: function Time(config) {
        config = config || {};
        this.apply(config);

    },
    /**
     * 
     */
    onAfterInit: function onAfterInit() {
        this.callParent();
        var me = this;
        me.ctrl.element.setAttribute("step",this.step);
        if(me.min != undefined && me.min != null)
        {
            me.ctrl.element.setAttribute("min",this.min);
        }
        if(me.max != undefined && me.max != null)
        {
            me.ctrl.element.setAttribute("max",this.max);
        }
    } 

});

